/*------------------------------------------------------------------------
//                          Project CommonLib                           //
------------------------------------------------------------------------*/

#pragma once
namespace BitCheck
{
     void SetBit(char* orgVal, const DWORD& bitPos);    
     void UnsetBit(char* orgVal, const DWORD& bitPos);    
     bool CheckBit(char* orgVal, const DWORD& bitPos);
}


#define SETBIT(value, pos)      BitCheck::SetBit( (char*)value, pos) 
#define UNSETBIT(value, pos)    BitCheck::UnsetBit( (char*)value, pos) 
#define CHECKBIT(value, pos)    BitCheck::CheckBit( (char*)value, pos)

/*------------------------------------------------------------------------

------------------------------------------------------------------------*/
